//
//  CRInputEmoticonParser.h
//  TestPrj
//
//  Created by 朱铅峰 on 2020/10/23.
//  Copyright © 2020 Xing. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum : NSUInteger {
    CRInputTokenTypeText,
    CRInputTokenTypeEmoticon
} CRInputTokenType;

@interface CRInputTextToken : NSObject

@property (nonatomic,copy)      NSString    *text;
@property (nonatomic,assign)    CRInputTokenType   type;

@end

@interface CRInputEmoticonParser : NSObject

+ (instancetype)currentParser;
- (NSArray *)tokens:(NSString *)text;

@end
